﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data.DBModels;
using Data.MyDbContext;

namespace DAL.Repositories
{
    public class CategoryRepository : RepositoryPublic<Category>
    {
         public CategoryRepository()
        {
            DB = new WebStudioDbContext();
        }

        public CategoryRepository(DbContext db)
            : base(db)
        { }

        public CategoryRepository(DbContextFactory db)
            : base(db)
        { }
    }
}
